/**
 * Copyright (c) iwindplus Technologies Co., Ltd.2024-2030, All rights reserved.
 */

package com.iwindplus.boot.domain.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 操作类型枚举定义.
 *
 * @author zengdegui
 * @since: 2018/10/10
 */
@Getter
@RequiredArgsConstructor
public enum OperateTypeEnum implements BaseEnum<String> {

    /**
     * 添加.
     */
    ADD("add", "添加"),

    /**
     * 删除.
     */
    DELETE("delete", "删除"),

    /**
     * 修改.
     */
    MODIFY("modify", "修改"),

    /**
     * 查询.
     */
    QUERY("query", "查询");

    /**
     * 值.
     */
    private final String value;

    /**
     * 描述.
     */
    private final String desc;

}